﻿using Swimj.CommonLib.Attributes;
using System.Diagnostics.CodeAnalysis;

namespace DataServer.CommonLib.Models.DataConfig
{
    public class DataConfigInfoResponseDto
    {
        public Guid Key { get; set; }

        [TableColumn(DisplayText = "配置编码")]
        [NotNull] public string? ConfigCode { get; set; }

        [TableColumn(DisplayText = "配置名称")]
        [NotNull] public string? ConfigName { get; set; }

        [TableColumn(DisplayText = "存储表名")]
        public string? DataTable { get; set; }

        public string? CheckWay { get; set; }

        [TableColumn(DisplayText = "排序")]
        public int Sort { get; set; }

        public string? Description { get; set; }
    }
}